package com.cyrusInnovation.test.comparator;

import java.util.Comparator;

import com.cyrusInnovation.test.record.PersonRecord;

public class LastNameDescending implements Comparator<PersonRecord> {

	public int compare(PersonRecord record1, PersonRecord record2) {
		return -1*(record1.getLastName().compareToIgnoreCase(record2.getLastName()));
	}
}
